package com.wangshuqi.spring.aop;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.aspectj.lang.annotation.Pointcut;
import org.springframework.stereotype.Component;

@Component
@Aspect
public class AccountAOP {


    @Pointcut(value = "execution(* com.wangshuqi.spring.service.impl.*.*(..))")
    public void pointcut() {
    }


    @Before(value = "pointcut()")
    public void before() {
        System.out.println("调用前。。。");
    }
}
